<template>
    <div>
        <script id="editor" type="text/plain"></script>
    </div>
</template>
<script>
import VueUeditorWrap from 'vue-ueditor-wrap'

export default {
    data(){
        return{
           editor:null
        }
    },
    mounted(){
        this.editor = UE.getEditor('editor')
    },
    destroyed(){
      this.editor.destroy()
    }
}
</script>